<?php

interface IVotesService {
	
	/**
	 * Insert new vote.
	 *
	 * @param Topic $topic
	 * @param User $user
	 */
	function insertVote(Topic $topic, User $user);
	
	/**
	 * Revoke vote.
	 *
	 * @param Topic $topic
	 * @param User $user
	 */
	function deleteVote(Topic $topic, User $user);
}

?>